package org.aswing.plaf.basic;

extern class BasicTabbedPaneUI extends org.aswing.plaf.BaseComponentUI, implements org.aswing.LayoutManager {
	function new() : Void;
	function addLayoutComponent(p0 : org.aswing.Component, p1 : Dynamic) : Void;
	function getLayoutAlignmentX(p0 : org.aswing.Container) : Float;
	function getLayoutAlignmentY(p0 : org.aswing.Container) : Float;
	function invalidateLayout(p0 : org.aswing.Container) : Void;
	function layoutContainer(p0 : org.aswing.Container) : Void;
	function maximumLayoutSize(p0 : org.aswing.Container) : org.aswing.geom.IntDimension;
	function minimumLayoutSize(p0 : org.aswing.Container) : org.aswing.geom.IntDimension;
	function preferredLayoutSize(p0 : org.aswing.Container) : org.aswing.geom.IntDimension;
	function removeLayoutComponent(p0 : org.aswing.Component) : Void;
	private var arrowLightColor : org.aswing.ASColor;
	private var arrowShadowColor : org.aswing.ASColor;
	private var buttonHolderMC : flash.display.Sprite;
	private var buttonMCPane : org.aswing.Container;
	private var contentMargin : org.aswing.Insets;
	private var contentRoundLineThickness : Int;
	private var darkShadow : org.aswing.ASColor;
	private var drawnTabBoundArray : Array<Dynamic>;
	private var firstIndex : Int;
	private var highlight : org.aswing.ASColor;
	private var lastIndex : Int;
	private var lightHighlight : org.aswing.ASColor;
	private var maxTabSize : org.aswing.geom.IntDimension;
	private var maxTabWidth : Int;
	private var minimumSize : org.aswing.geom.IntDimension;
	private var nextButton : org.aswing.AbstractButton;
	private var prefferedSize : org.aswing.geom.IntDimension;
	private var prevButton : org.aswing.AbstractButton;
	private var selectedTabExpandInsets : org.aswing.Insets;
	private var shadow : org.aswing.ASColor;
	private var tabBarMC : flash.display.Sprite;
	private var tabBarMaskMC : flash.display.Shape;
	private var tabBarSize : org.aswing.geom.IntDimension;
	private var tabBorderInsets : org.aswing.Insets;
	private var tabBoundArray : Array<Dynamic>;
	private var tabGap : Int;
	private var tabbedPane : org.aswing.JTabbedPane;
	private var tabs : Array<Dynamic>;
	private var topBlankSpace : Int;
	private var uiRootMC : flash.display.Sprite;
	private var windowBG : org.aswing.ASColor;
	private function __nextButtonReleased(p0 : flash.events.Event) : Void;
	private function __onNavKeyDown(p0 : org.aswing.event.FocusKeyEvent) : Void;
	private function __onSelectionChanged(p0 : org.aswing.event.InteractiveEvent) : Void;
	private function __onTabPanePressed(p0 : flash.events.Event) : Void;
	private function __prevButtonReleased(p0 : flash.events.Event) : Void;
	private function countPreferredTabSizeAt(p0 : Int) : org.aswing.geom.IntDimension;
	private function createArrowIcon(p0 : Float, p1 : Bool) : org.aswing.Icon;
	private function createNewTab() : org.aswing.plaf.basic.tabbedpane.Tab;
	private function createNextButton() : org.aswing.AbstractButton;
	private function createPrevButton() : org.aswing.AbstractButton;
	private function createTabBarGraphics() : org.aswing.graphics.Graphics2D;
	private function createUIAssets() : Void;
	private function drawBaseLine(p0 : org.aswing.geom.IntRectangle, p1 : org.aswing.graphics.Graphics2D, p2 : org.aswing.geom.IntRectangle) : Void;
	private function drawTabAt(p0 : Int, p1 : org.aswing.geom.IntRectangle, p2 : org.aswing.geom.IntRectangle, p3 : org.aswing.graphics.Graphics2D, p4 : org.aswing.Insets) : Void;
	private function drawTabBorderAt(p0 : Int, p1 : org.aswing.geom.IntRectangle, p2 : org.aswing.geom.IntRectangle, p3 : org.aswing.graphics.Graphics2D) : Void;
	private function drawTabWithFullInfosAt(p0 : Int, p1 : org.aswing.geom.IntRectangle, p2 : org.aswing.geom.IntRectangle, p3 : org.aswing.graphics.Graphics2D, p4 : org.aswing.geom.IntRectangle, p5 : org.aswing.geom.IntPoint, p6 : org.aswing.Insets) : Int;
	private function getDrawnTabBounds(p0 : Int) : org.aswing.geom.IntRectangle;
	private function getMousedOnTabIndex() : Int;
	private function getPropertyPrefix() : String;
	private function getSelectedTab() : org.aswing.plaf.basic.tabbedpane.Tab;
	private function getTab(p0 : Int) : org.aswing.plaf.basic.tabbedpane.Tab;
	private function getTabBarSize() : org.aswing.geom.IntDimension;
	private function getTabBorderInsets() : org.aswing.Insets;
	private function getTabBoundArray() : Array<Dynamic>;
	private function getTabColor(p0 : Int) : org.aswing.ASColor;
	private function getTransformedMargin() : org.aswing.Insets;
	private function indexOfTabComponent(p0 : org.aswing.Component) : Int;
	private function installComponents() : Void;
	private function installDefaults() : Void;
	private function installListeners() : Void;
	private function isTabHorizontalPlacing() : Bool;
	private function removeUIAssets() : Void;
	private function setDrawnTabBounds(p0 : Int, p1 : org.aswing.geom.IntRectangle, p2 : org.aswing.geom.IntRectangle) : Void;
	private function setTabMarginProperty(p0 : org.aswing.plaf.basic.tabbedpane.Tab, p1 : org.aswing.Insets) : Void;
	private function setTabProperties(p0 : org.aswing.plaf.basic.tabbedpane.Tab, p1 : Int) : Void;
	private function setTraversingTrue() : Void;
	private function synTabProperties() : Void;
	private function synTabs() : Void;
	private function uninstallComponents() : Void;
	private function uninstallDefaults() : Void;
	private function uninstallListeners() : Void;
}
